home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-08-02 | 1.4 KB | 50 lines |
- #!smake
-
- include ${ROOT}/usr/include/make/commondefs
-
- # :++: here, as in
- # src/exampleCode/inventor/sharedSV
- # src/demos/audio/drive
- # we have had to resort to building Inventor things with the eoe
- # and dev versions of Inventor 1.1.2 since these programs were not
- # able to be ported over to Open Inventor 2.0 in time for v4.1 of
- # the toolbox.
- #
- # please refer to the README.Inventor at the top-of-tree for more
- # information about what one will have to do if one is likewise
- # trying to compile Inventor programs on 5.2 IRIX which have not
- # been ported to Inventor 2.0.
- #
- # (i.e., note use of $(MYROOT) below)
- #
-
- MOTIFLIBS= -lSgm -lXm -lXt -lX11 -lPW
- INV_XT = -lInventorXt $(MOTIFLIBS) -lInventor
- INVLIB = $(INV_XT)
- MALLOCLIB= -lmalloc
-
- # The following 2 lines were added to build w/Inventor 1.1.2 compatibility :++:
- LLDOPTS = -L$(MYROOT)/usr/lib
- LC++INCS= -I$(MYROOT)/usr/include
- LC++OPTS= +p
- LLDLIBS = $(INVLIB) -limage -laudiofile -laudio -lfm -lgl -lm $(MALLOCLIB)
-
- C++FILES= comm.c++ control.c++ display.c++ explode.c++ hud.c++ main.c++ \
- resources.c++ stars.c++ ship.c++ sw_comm.c++ sound.c++ universe.c++ \
- ship_regular.c++
-
- SWSOBJECTS= comm.o serv_comm.o
-
- TARGETS = sw sws
-
- default all: $(TARGETS)
-
- include ${COMMONRULES}
-
-
- sw: ${OBJECTS}
- $(C++F) -o $@ $(OBJECTS) $(LDFLAGS)
-
- sws: $(SWSOBJECTS)
- $(C++F) -o $@ $(SWSOBJECTS) $(VLDOPTS)
-